// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import * as echarts from 'echarts';
import 'jquery'

// import ningbo from './views/bigScreen/components/analysis/assets/ningbo.json'
// echarts.registerMap('ningbo', ningbo)

Vue.use(ElementUI);
Vue.prototype.$echarts = echarts

// Vue.use(echarts);

// 将自动注册所有组件为全局组件
import dataV from '@jiaminghi/data-view'
import './assets/css/index.css' //全局导入CSS


// 浙江地图
// import '../node_modules/echarts/map/js/province/zhejiang.js'


Vue.use(dataV)

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
